package com.example.admin.yuejian21.Bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Admin on 2017/10/23.
 */

public class Pic implements Parcelable {


    /**
     * id : 57
     * title : Sss
     * image_num : 0
     * thumb0 : st/thumb/20171020/thumb_20171020093017_2032186609.jpeg
     * thumb0size : 1K
     * thumb1 :
     * thumb1size :
     * thumb2 :
     * thumb2size :
     * club_id : 0
     * replynum : 0
     * userid : 280
     * hits : 12
     * insert_time : null
     * update_time : 2017-10-20 09:30:17
     * check_userid : 1
     * checktime : null
     * checkstate : 1
     * listorder : 1
     * vstate : 1
     */

    private String id;



    private String title;
    private String image_num;
    private String thumb0;
    private String thumb0size;
    private String thumb1;
    private String thumb1size;
    private String thumb2;
    private String thumb2size;
    private String club_id;
    private String replynum;
    private String userid;
    private String hits;
    private Object insert_time;
    private String update_time;
    private String check_userid;
    private Object checktime;
    private String checkstate;
    private String listorder;
    private String vstate;


    protected Pic(Parcel in) {
        id = in.readString();
        title = in.readString();
        image_num = in.readString();
        thumb0 = in.readString();
        thumb0size = in.readString();
        thumb1 = in.readString();
        thumb1size = in.readString();
        thumb2 = in.readString();
        thumb2size = in.readString();
        club_id = in.readString();
        replynum = in.readString();
        userid = in.readString();
        hits = in.readString();
        update_time = in.readString();
        check_userid = in.readString();
        checkstate = in.readString();
        listorder = in.readString();
        vstate = in.readString();
        club_name = in.readString();
    }

    public static final Creator<Pic> CREATOR = new Creator<Pic>() {
        @Override
        public Pic createFromParcel(Parcel in) {
            return new Pic(in);
        }

        @Override
        public Pic[] newArray(int size) {
            return new Pic[size];
        }
    };

    public List<com.example.admin.yuejian21.Bean.comment> getComment() {
        return comment;
    }

    public void setComment(List<com.example.admin.yuejian21.Bean.comment> comment) {
        this.comment = comment;
    }

    private List<comment> comment;


    public String getClub_name() {
        return club_name;
    }

    public void setClub_name(String club_name) {
        this.club_name = club_name;
    }

    private String club_name;
  private shaier shaier;

    public com.example.admin.yuejian21.Bean.shaier getShaier() {
        return shaier;
    }

    public void setShaier(com.example.admin.yuejian21.Bean.shaier shaier) {
        this.shaier = shaier;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setImage_num(String image_num) {
        this.image_num = image_num;
    }

    public void setThumb0(String thumb0) {
        this.thumb0 = thumb0;
    }

    public void setThumb0size(String thumb0size) {
        this.thumb0size = thumb0size;
    }

    public void setThumb1(String thumb1) {
        this.thumb1 = thumb1;
    }

    public void setThumb1size(String thumb1size) {
        this.thumb1size = thumb1size;
    }

    public void setThumb2(String thumb2) {
        this.thumb2 = thumb2;
    }

    public void setThumb2size(String thumb2size) {
        this.thumb2size = thumb2size;
    }

    public void setClub_id(String club_id) {
        this.club_id = club_id;
    }

    public void setReplynum(String replynum) {
        this.replynum = replynum;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public void setInsert_time(Object insert_time) {
        this.insert_time = insert_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public void setCheck_userid(String check_userid) {
        this.check_userid = check_userid;
    }

    public void setChecktime(Object checktime) {
        this.checktime = checktime;
    }

    public void setCheckstate(String checkstate) {
        this.checkstate = checkstate;
    }

    public void setListorder(String listorder) {
        this.listorder = listorder;
    }

    public void setVstate(String vstate) {
        this.vstate = vstate;
    }

    public String getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getImage_num() {
        return image_num;
    }

    public String getThumb0() {
        return thumb0;
    }

    public String getThumb0size() {
        return thumb0size;
    }

    public String getThumb1() {
        return thumb1;
    }

    public String getThumb1size() {
        return thumb1size;
    }

    public String getThumb2() {
        return thumb2;
    }

    public String getThumb2size() {
        return thumb2size;
    }

    public String getClub_id() {
        return club_id;
    }

    public String getReplynum() {
        return replynum;
    }

    public String getUserid() {
        return userid;
    }

    public String getHits() {
        return hits;
    }

    public Object getInsert_time() {
        return insert_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public String getCheck_userid() {
        return check_userid;
    }

    public Object getChecktime() {
        return checktime;
    }

    public String getCheckstate() {
        return checkstate;
    }

    public String getListorder() {
        return listorder;
    }

            public String getVstate() {
        return vstate;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(title);
        dest.writeString(image_num);
        dest.writeString(thumb0);
        dest.writeString(thumb0size);
        dest.writeString(thumb1);
        dest.writeString(thumb1size);
        dest.writeString(thumb2);
        dest.writeString(thumb2size);
        dest.writeString(club_id);
        dest.writeString(replynum);
        dest.writeString(userid);
        dest.writeString(hits);
        dest.writeString(update_time);
        dest.writeString(check_userid);
        dest.writeString(checkstate);
        dest.writeString(listorder);
        dest.writeString(vstate);
        dest.writeString(club_name);


    }
}
